public class LRM {
	public static void main(String[] args) {
	// Run the model AlievPanfilov
	luo_rudy_I_model_1991 model = new luo_rudy_I_model_1991();
	
	 // Put the delta value 
		double dt = 0.01;
		
	// Variables definitions		
		double stimulation = 0.5;
		double duration = 100;
		double time = 0;
		System.out.println("t \t u");
		for(double d = 0; d < duration; d+=dt){
			model.compute(time);
			for (int i = 0; i <= 7; i++)
				model.Y[i] = model.Y[i] + dt * model.dY[i];
			time += dt;
			
			System.out.println(time+"\t"+model.Y[4]);
		}
	}
}
